/* 
商品详情
*/

#shopDetail {
	width: 1000px;
	margin: 20px auto;
	display: flex;
}

/* 左侧 */
#shopDetail .shopLeft {
	width: 360px;
	height: 420px;
	/* background-color: red; */
	padding: 20px 20px 40px 20px;
	padding-top: 20px;
	box-sizing: border-box;
	position: relative;
}

#shopDetail .shopLeft #shopLeftBox {
	width: 320px;
	height: 320px;
    position: relative;
    border: 1px solid #ddd;
    /* background-color: red; */
}

#shopDetail .shopLeft #shopLeftBox #lay {
	background: #fff;
	border: 1px solid gray;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.5;
    display: none;
    /* display: block; */
    filter: alpha(opacity=50);
}

#shopDetail .shopLeft #shopLeftBigBox {
	width: 320px;
	height: 320px;
	position: absolute;
	left: 350px;
	top: 20px;
	z-index: 997;
    display: none;
    overflow: hidden;
	border: 1px solid #ddd;
}

#shopDetail .shopLeft .bimage {
	width: 320px;
	height: 320px;
}

#shopDetail .shopLeft .simage {
	width: 54px;
	height: 54px;
}

/* 右侧 */
#shopDetail .shopRight {
	flex: 1;
	height: 420px;
	max-width: 600px;
	padding: 40px;
	padding-top: 20px;
	box-sizing: border-box;
	border-right: 1px solid #f2f2f2;
	border-left: 1px solid #f2f2f2;
	margin-right: 40px;
	color: #878787;
	font-size: 14px;
	position: relative;
}

#shopDetail .shopRight h3 {
	font-size: 20px;
	margin-bottom: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #333;
}

/* 价格 */
#shopDetail .shopRight .priceArea {
	background-color: #e9e9e9;
	width: 388px;
	height: 64px;
	display: flex;
	align-items: center;
}

#shopDetail .shopRight .priceArea .priceBox {
	flex: 1;
	margin-left: 20px;
}

#shopDetail .shopRight .priceArea .priceBox .yourprice {
	font-size: 20px;
	font-weight: bold;
	color: #f90303;
}

#shopDetail .shopRight .priceArea .priceBox .price {
	margin-right: 12px;
	text-decoration: line-through;
}

#shopDetail .shopRight .priceArea .star {
	font-family: fontawesome;
	font-size: 14px;
	margin-right: 20px;
}

/* 销量与评价 */
#shopDetail .shopRight .cArea {
	width: 388px;
	height: 48px;
	border-bottom: 1px solid #d7d7d7;
	border-top: 1px solid #d7d7d7;
	margin-top: 24px;
	display: flex;
	align-items: center;
}

#shopDetail .shopRight .cArea div {
	flex: 1;
	text-align: center;
	height: 48px;
	line-height: 48px;
	box-sizing: border-box;
}
#shopDetail .shopRight .cArea div:nth-child(1) {
	border-right: 1px solid #d7d7d7;
}

/* 数量、库存 */
#shopDetail .shopRight .numArea {
	display: flex;
	height: 32px;
	margin-top: 24px;
	align-items: center;
}

#shopDetail .shopRight .numArea span {
	height: 32px;
	line-height: 32px;
	margin-left: 20px;
}

#shopDetail .shopRight .numArea .btnBox {
	display: flex;
	margin-left: 20px;
}

#shopDetail .shopRight .numArea .btnBox button {
	width: 32px;
	height: 32px;
	border: 1px solid #d7d7d7;
	font-size: 20px;
	color: #7f7f7f;

	cursor: pointer;
}

#shopDetail .shopRight .numArea .btnBox button:hover {
	background-color: #ddd;
}

#shopDetail .shopRight .numArea .btnBox div {
	width: 32px;
	height: 32px;
	box-sizing: border-box;
	border-top: 1px solid #d7d7d7;
	border-bottom: 1px solid #d7d7d7;
}

#shopDetail .shopRight .numArea .btnBox div input {
	padding-left: 5px;
	padding-right: 5px;
	box-sizing: border-box;
	width: 32px;
	height: 30px;
	text-align: center;
	border: none;
}

/* 按钮区域 */
#shopDetail .shopRight .btnArea {
	width: 388px;
	height: 64px;
	position: absolute;
	bottom: 0;
	display: flex;
	align-items: center;
	display: flex;
	justify-content: space-evenly;
}

#shopDetail .shopRight .btnArea button {
	width: 180px;
	height: 40px;
	font-size: 16px;
	font-family: fontawesome;
	cursor: pointer;
}

#shopDetail .shopRight .btnArea button:hover {
	opacity: 0.7;
}

#shopDetail .shopRight .btnArea .toCart {
	border: none;
	background-color: #f90303;
	color: #fff;
}

#shopDetail .shopRight .btnArea .buyNow {
	border: 1px solid #f90303;
	background-color: rgba(249, 3, 3, 0.05);
	color: #f90303;
}
